package com.itc.bi.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @program: itc-airport-cloud
 * @description: datax写入配置信息
 * @author: songxiude
 * @create: 2024-07-06 10:07
 **/
@Data
@Component
@ConfigurationProperties(prefix = "datax")
public class DataxConfig {
    /**
     * datax执行目录
     */
    private String execPath;
    /**
     *写入目标库类型
     */
    private String writerTargetDB;
    /**
     * 写入jdbc配置
     */
    private String writerJdbc;
    /**
     * 写入用户名
     */
    private String username;
    /**
     * 写入用户密码
     */
    private String password;

}
